package com.lidong.lowcode.core.service.system;

import com.lidong.config.domain.gloabreturn.MyInfo;
import com.lidong.config.domain.gloabreturn.PageInfoVO;
import com.lidong.config.domain.gloabreturn.ResponseInfo;
import com.lidong.lowcode.core.domain.common.CustomParam;
import com.lidong.lowcode.core.domain.system.User;

import java.util.List;
import java.util.Map;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 2021/12/14 20:35
 */
public interface UserService {

    /**
     * 用户分页接口
     *
     * @param pageParam
     * @return
     */
    PageInfoVO<User> listUserPage(CustomParam pageParam);

    /**
     * 删除用户
     *
     * @param ids
     * @return
     */
    ResponseInfo<MyInfo> deleteUser(List<Integer> ids);

    /**
     * 新增修改
     *
     * @param paramMap
     * @return
     */
    ResponseInfo<MyInfo> addOrEditUser(Map<String, String> paramMap);
}
